<!doctype html>



  


<html class="theme-next muse use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />















  
  
  <link href="/blog/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  

  
    
      
    

    
  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic|PT Mono:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/blog/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/blog/css/main.css?v=5.1.0" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="hexo," />








  <link rel="shortcut icon" type="image/x-icon" href="/blog/favicon.ico?v=5.1.0" />






<meta name="description" content="Hexo官网: Hexo
搭建本地博客环境配置1git，node
安装hexo1234npm install hexo-cli -ghexo init #初始化npm installhexo server (hexo s) #本地运行默认4000端口">
<meta property="og:type" content="article">
<meta property="og:title" content="Hexo&常见问题">
<meta property="og:url" content="https://rsl140.github.io/blog/2017/03/23/Hexo/index.html">
<meta property="og:site_name" content="XiaoSi">
<meta property="og:description" content="Hexo官网: Hexo
搭建本地博客环境配置1git，node
安装hexo1234npm install hexo-cli -ghexo init #初始化npm installhexo server (hexo s) #本地运行默认4000端口">
<meta property="og:updated_time" content="2018-06-23T12:48:40.701Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Hexo&常见问题">
<meta name="twitter:description" content="Hexo官网: Hexo
搭建本地博客环境配置1git，node
安装hexo1234npm install hexo-cli -ghexo init #初始化npm installhexo server (hexo s) #本地运行默认4000端口">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/blog/',
    scheme: 'Muse',
    sidebar: {"position":"left","display":"post","offset":12,"offset_float":0,"b2t":false,"scrollpercent":false},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="https://rsl140.github.io/blog/2017/03/23/Hexo/"/>





  <title> Hexo&常见问题 | XiaoSi </title>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  














  
  
    
  

  <div class="container sidebar-position-left page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/blog/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">XiaoSi</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle"></p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/blog/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/blog/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/blog/tags/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/blog/categories/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
    <link itemprop="mainEntityOfPage" href="https://rsl140.github.io/blog/blog/2017/03/23/Hexo/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Summer">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/blog/uploads/1.jpg">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="XiaoSi">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                Hexo&常见问题
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2017-03-23T00:00:00+08:00">
                2017-03-23
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/blog/categories/FE/" itemprop="url" rel="index">
                    <span itemprop="name">FE</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
              <span class="post-comments-count">
                <span class="post-meta-divider">|</span>
                <span class="post-meta-item-icon">
                  <i class="fa fa-comment-o"></i>
                </span>
                <a href="/blog/2017/03/23/Hexo/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count disqus-comment-count" data-disqus-identifier="2017/03/23/Hexo/" itemprop="commentCount"></span>
                </a>
              </span>
            
          

          
          

          
            <span class="post-meta-divider">|</span>
            <span class="page-pv"><i class="fa fa-file-o">阅读次数</i>
            <span class="busuanzi-value" id="busuanzi_value_page_pv" ></span>次
            </span>
          

          

          

        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>Hexo官网: <a href="https://hexo.io/" target="_blank" rel="external">Hexo</a></p>
<h2 id="搭建本地博客"><a href="#搭建本地博客" class="headerlink" title="搭建本地博客"></a>搭建本地博客</h2><h3 id="环境配置"><a href="#环境配置" class="headerlink" title="环境配置"></a>环境配置</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">git，node</div></pre></td></tr></table></figure>
<h3 id="安装hexo"><a href="#安装hexo" class="headerlink" title="安装hexo"></a>安装hexo</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line">npm install hexo-cli -g</div><div class="line">hexo init <span class="comment">#初始化</span></div><div class="line">npm install</div><div class="line">hexo server (hexo s) <span class="comment">#本地运行默认4000端口</span></div></pre></td></tr></table></figure>
<a id="more"></a>
<h3 id="使用"><a href="#使用" class="headerlink" title="使用"></a>使用</h3><p>缩写：<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line">hexo c <span class="comment">#缓存清理</span></div><div class="line">hexo g <span class="comment">#生成静态页面</span></div><div class="line">hexo d <span class="comment">#发布到github</span></div><div class="line">hexo s <span class="comment">#本地运行</span></div></pre></td></tr></table></figure></p>
<h3 id="push-到github"><a href="#push-到github" class="headerlink" title="push 到github"></a>push 到github</h3><p>找到_config.yml文件，翻到最下面 ：后面都要有空格</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div></pre></td><td class="code"><pre><div class="line">deploy:</div><div class="line">	<span class="built_in">type</span>: git</div><div class="line">	repository: https://github.com/rsl140/blog.git</div><div class="line">	branch: master</div><div class="line">执行</div><div class="line">	npm install hexo-deployer-git --save</div><div class="line">	hexo d</div></pre></td></tr></table></figure>
<h3 id="常用命令"><a href="#常用命令" class="headerlink" title="常用命令"></a>常用命令</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div></pre></td><td class="code"><pre><div class="line">hexo new <span class="string">"postName"</span> <span class="comment">#新建文章</span></div><div class="line">hexo new page <span class="string">"pageName"</span> <span class="comment">#新建页面</span></div><div class="line">hexo generate <span class="comment">#生成静态页面至public目录</span></div><div class="line">hexo server <span class="comment">#开启预览访问端口（默认端口4000，'ctrl + c'关闭server）</span></div><div class="line">hexo deploy <span class="comment">#将.deploy目录部署到GitHub</span></div><div class="line">hexo <span class="built_in">help</span>  <span class="comment">#查看帮助</span></div><div class="line">hexo version  <span class="comment">#查看Hexo的版本</span></div></pre></td></tr></table></figure>
<h3 id="主题"><a href="#主题" class="headerlink" title="主题"></a>主题</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div></pre></td><td class="code"><pre><div class="line">在根目录下 git <span class="built_in">clone</span> https://github.com/iissnan/hexo-theme-next themes/next <span class="comment">#其他类似</span></div><div class="line"><span class="comment">#启用</span></div><div class="line"><span class="comment">#修改博客目录D:\hexo\_config.yml中的theme属性，将其设置为jacman。</span></div><div class="line">theme: next</div><div class="line"><span class="comment">#在主题更新之前，一定要备份好主题目录下的_config.yml文件，尤其是到后面修改了很多配置之后。</span></div><div class="line"><span class="built_in">cd</span> themes/next</div><div class="line">git pull origin master</div></pre></td></tr></table></figure>
<h4 id="主题的配置"><a href="#主题的配置" class="headerlink" title="主题的配置"></a>主题的配置</h4><p>　　主题的配置在D:\hexo\themes\next_config.yml文件里面了。<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div></pre></td><td class="code"><pre><div class="line">menu:  <span class="comment">#导航栏</span></div><div class="line">  主页: /</div><div class="line">  归档: /archives</div><div class="line">  关于: /about</div><div class="line"></div><div class="line"><span class="comment">#导航栏上如何添加新页面呢？输入下面命令，新建一个页面，在里添加内容即可。</span></div><div class="line">hexo new page <span class="string">"about"</span></div><div class="line"><span class="comment">#导航栏里的文件都在D:\Hexo\source\目录下在相应的文件里修改，然后预览再部署。注意，修改任何的配置内容，都需要生成之后才有效。</span></div></pre></td></tr></table></figure></p>
<h3 id="本站使用的第三方配置"><a href="#本站使用的第三方配置" class="headerlink" title="本站使用的第三方配置"></a>本站使用的第三方配置</h3><p>数据统计：<a href="http://theme-next.iissnan.com/third-party-services.html#analytics-tencent" target="_blank" rel="external">不蒜子统计</a></p>
<p>评论系统：<a href="http://theme-next.iissnan.com/third-party-services.html#disqus" target="_blank" rel="external">DISQUS</a></p>
<h3 id="标签-tag-页面创建"><a href="#标签-tag-页面创建" class="headerlink" title="标签(tag)页面创建"></a>标签(tag)页面创建</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div></pre></td><td class="code"><pre><div class="line">	hexo new page tags <span class="comment">#新建页面</span></div><div class="line"></div><div class="line">	<span class="built_in">type</span>: <span class="string">"tags"</span> <span class="comment">#在页面中设置type标签</span></div><div class="line">	comments: <span class="literal">false</span> <span class="comment">#禁用评论功能，如果有</span></div><div class="line"></div><div class="line">	menu: <span class="comment">#在配置文件中添加tags</span></div><div class="line">	  home: /</div><div class="line">	  tags: /tags</div><div class="line"><span class="comment">#分类页面同理 categories</span></div></pre></td></tr></table></figure>
<h3 id="修改文章范本"><a href="#修改文章范本" class="headerlink" title="修改文章范本"></a>修改文章范本</h3><p>范本文档目录为：scaffolds/post.md<br>草稿文本目录为：scaffolds/draft.md</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div></pre></td><td class="code"><pre><div class="line">title:  <span class="comment">#文章标题</span></div><div class="line">date:  <span class="comment">#时间，一般不用改</span></div><div class="line">categories:  <span class="comment">#目录分类</span></div><div class="line">tags:  <span class="comment">#标签，格式可以是[Hexo,总结]，中间用英文逗号分开</span></div><div class="line">keywords:  <span class="comment">#文章关键词，多个关键词用英文逗号隔开</span></div></pre></td></tr></table></figure>
<h3 id="我遇到的错误解决方法"><a href="#我遇到的错误解决方法" class="headerlink" title="我遇到的错误解决方法"></a>我遇到的错误解决方法</h3><h4 id="github不显示页面的问题"><a href="#github不显示页面的问题" class="headerlink" title="github不显示页面的问题"></a>github不显示页面的问题</h4><p>在配置里的url如下设置</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div></pre></td><td class="code"><pre><div class="line">url: https://rsl140.github.io/blog/m</div><div class="line">root: /blog <span class="comment">#子文件夹目录名</span></div></pre></td></tr></table></figure>
<h4 id="hexo-无法生成新文章"><a href="#hexo-无法生成新文章" class="headerlink" title="hexo 无法生成新文章"></a>hexo 无法生成新文章</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div></pre></td><td class="code"><pre><div class="line">安装hexo步骤从新走一次</div><div class="line">提示hexo不是内部执行命令时 执行</div><div class="line">sudo npm install -g hexo</div></pre></td></tr></table></figure>
<h4 id="site设置"><a href="#site设置" class="headerlink" title="site设置"></a>site设置</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div></pre></td><td class="code"><pre><div class="line"><span class="comment"># Site</span></div><div class="line">title: XiaoSi</div><div class="line">subtitle:</div><div class="line">description: 小思</div><div class="line">author: Summer</div><div class="line">language: zh-Hans <span class="comment">#中文</span></div><div class="line">timezone:   Asia/Shanghai <span class="comment">#北京时间</span></div></pre></td></tr></table></figure>
<h4 id="github备份"><a href="#github备份" class="headerlink" title="github备份"></a>github备份</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div></pre></td><td class="code"><pre><div class="line">//假设hexo文件夹是已经生成的hexo博客目录</div><div class="line">//如果themes/next(风格名字目录)下面有.git，请删除这个.git文件夹。</div><div class="line"><span class="comment">#cd hexo</span></div><div class="line"><span class="comment">#git init  //初始化本地仓库</span></div><div class="line"><span class="comment">#git add source themes scaffolds _config.yml package.json package-lock.json  //将必要的文件依次添加</span></div><div class="line"><span class="comment">#git commit -m "blog hexo"</span></div><div class="line"><span class="comment">#git branch hexo  //新建hexo分支</span></div><div class="line"><span class="comment">#git checkout hexo  //切换到hexo分支上</span></div><div class="line"><span class="comment">#git remote add origin git@github.com:user/user.github.io.git  //将本地与Github项目对接</span></div><div class="line"><span class="comment">#git push origin hexo  //push到Github项目的hexo分支上</span></div></pre></td></tr></table></figure>
<p>其他终端使用：</p>
<blockquote>
<p>前提:nodejs,git,hexo已经安装好，并配置好环境变量。</p>
</blockquote>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div></pre></td><td class="code"><pre><div class="line"><span class="comment">#git clone -b hexo git@github.com:user/user.github.io.git  //将Github中hexo分支clone到本地</span></div><div class="line"><span class="comment">#cd user.github.io</span></div><div class="line"><span class="comment">#npm install</span></div></pre></td></tr></table></figure>
<p><a href="https://blog.csdn.net/shile/article/details/78714189" target="_blank" rel="external">参考原文</a></p>

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/blog/tags/hexo/" rel="tag"># hexo</a>
          
        </div>
      

      
        
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/blog/2017/03/27/bower/" rel="prev" title="Bower的使用">
                Bower的使用 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          
  <div class="comments" id="comments">
    
      <div id="disqus_thread">
        <noscript>
          Please enable JavaScript to view the
          <a href="//disqus.com/?ref_noscript">comments powered by Disqus.</a>
        </noscript>
      </div>
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="/blog/uploads/1.jpg"
               alt="Summer" />
          <p class="site-author-name" itemprop="name">Summer</p>
           
              <p class="site-description motion-element" itemprop="description">小思</p>
          
        </div>
        <nav class="site-state motion-element">

          
            <div class="site-state-item site-state-posts">
              <a href="/blog/archives/">
                <span class="site-state-item-count">27</span>
                <span class="site-state-item-name">日志</span>
              </a>
            </div>
          

          
            
            
            <div class="site-state-item site-state-categories">
              <a href="/blog/categories/index.html">
                <span class="site-state-item-count">8</span>
                <span class="site-state-item-name">分类</span>
              </a>
            </div>
          

          
            
            
            <div class="site-state-item site-state-tags">
              <a href="/blog/tags/index.html">
                <span class="site-state-item-count">17</span>
                <span class="site-state-item-name">标签</span>
              </a>
            </div>
          

        </nav>

        

        <div class="links-of-author motion-element">
          
            
              <span class="links-of-author-item">
                <a href="http://github.com/rsl140" target="_blank" title="GitHub">
                  
                    <i class="fa fa-fw fa-github"></i>
                  
                  GitHub
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="https://segmentfault.com/u/xiaosi_58ec6bdf9eaab" target="_blank" title="Segmentfault">
                  
                    <i class="fa fa-fw fa-globe"></i>
                  
                  Segmentfault
                </a>
              </span>
            
          
        </div>

        
        

        
        

        


      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#搭建本地博客"><span class="nav-number">1.</span> <span class="nav-text">搭建本地博客</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#环境配置"><span class="nav-number">1.1.</span> <span class="nav-text">环境配置</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#安装hexo"><span class="nav-number">1.2.</span> <span class="nav-text">安装hexo</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#使用"><span class="nav-number">1.3.</span> <span class="nav-text">使用</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#push-到github"><span class="nav-number">1.4.</span> <span class="nav-text">push 到github</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#常用命令"><span class="nav-number">1.5.</span> <span class="nav-text">常用命令</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#主题"><span class="nav-number">1.6.</span> <span class="nav-text">主题</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#主题的配置"><span class="nav-number">1.6.1.</span> <span class="nav-text">主题的配置</span></a></li></ol></li><li class="nav-item nav-level-3"><a class="nav-link" href="#本站使用的第三方配置"><span class="nav-number">1.7.</span> <span class="nav-text">本站使用的第三方配置</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#标签-tag-页面创建"><span class="nav-number">1.8.</span> <span class="nav-text">标签(tag)页面创建</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#修改文章范本"><span class="nav-number">1.9.</span> <span class="nav-text">修改文章范本</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#我遇到的错误解决方法"><span class="nav-number">1.10.</span> <span class="nav-text">我遇到的错误解决方法</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#github不显示页面的问题"><span class="nav-number">1.10.1.</span> <span class="nav-text">github不显示页面的问题</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#hexo-无法生成新文章"><span class="nav-number">1.10.2.</span> <span class="nav-text">hexo 无法生成新文章</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#site设置"><span class="nav-number">1.10.3.</span> <span class="nav-text">site设置</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#github备份"><span class="nav-number">1.10.4.</span> <span class="nav-text">github备份</span></a></li></ol></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy; 
  <span itemprop="copyrightYear">2019</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Summer</span>
</div>

        
<div class="busuanzi-count">
  <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  
    <span class="site-uv">
      <i class="fa fa-user">本站访客数</i>
      <span class="busuanzi-value" id="busuanzi_value_site_uv"></span>
      人次
    </span>
  

  
    <span class="site-pv">
      <i class="fa fa-eye">本站总访问量</i>
      <span class="busuanzi-value" id="busuanzi_value_site_pv"></span>
      次
    </span>
  
</div>


        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  


  



  
  <script type="text/javascript" src="/blog/lib/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/blog/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/blog/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/blog/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/blog/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/blog/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>

  
  <script type="text/javascript" src="/blog/lib/canvas-nest/canvas-nest.min.js"></script>


  


  <script type="text/javascript" src="/blog/js/src/utils.js?v=5.1.0"></script>

  <script type="text/javascript" src="/blog/js/src/motion.js?v=5.1.0"></script>



  
  

  
  <script type="text/javascript" src="/blog/js/src/scrollspy.js?v=5.1.0"></script>
<script type="text/javascript" src="/blog/js/src/post-details.js?v=5.1.0"></script>



  


  <script type="text/javascript" src="/blog/js/src/bootstrap.js?v=5.1.0"></script>



  



  

    <script type="text/javascript">
      var disqus_shortname = 'xiaosi';
      var disqus_identifier = '2017/03/23/Hexo/';

      var disqus_title = "Hexo&常见问题";


      function run_disqus_script(disqus_script) {
        var dsq = document.createElement('script');
        dsq.type = 'text/javascript';
        dsq.async = true;
        dsq.src = '//' + disqus_shortname + '.disqus.com/' + disqus_script;
        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
      }

      run_disqus_script('count.js');

      
        var disqus_config = function () {
            this.page.url = disqus_url;
            this.page.identifier = disqus_identifier;
            this.page.title = disqus_title;
        };
        run_disqus_script('embed.js');
      

    </script>
  













  





  

  

  

  

</body>
</html>
